set the correct min/max values for the ratio property (fixes #75331)
authorjacob berkman <jacob@ximian.com>
Mon, 18 Mar 2002 23:08:38 +0000 (23:08 +0000)
committerJacob Berkman <jberkman@src.gnome.org>
Mon, 18 Mar 2002 23:08:38 +0000 (23:08 +0000)
2002-03-18  jacob berkman  <jacob@ximian.com>

* gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
correct min/max values for the ratio property (fixes #75331)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkaspectframe.c

index 823809230e1d202e77d8a5aea83be05be091fce0..49a81ef3f13329af185466804e0f6cf34874d88e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-18  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
+       correct min/max values for the ratio property (fixes #75331)
+
 Mon Mar 18 11:55:03 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
index 823809230e1d202e77d8a5aea83be05be091fce0..49a81ef3f13329af185466804e0f6cf34874d88e 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-18  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
+       correct min/max values for the ratio property (fixes #75331)
+
 Mon Mar 18 11:55:03 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
index 823809230e1d202e77d8a5aea83be05be091fce0..49a81ef3f13329af185466804e0f6cf34874d88e 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-18  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
+       correct min/max values for the ratio property (fixes #75331)
+
 Mon Mar 18 11:55:03 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
index 823809230e1d202e77d8a5aea83be05be091fce0..49a81ef3f13329af185466804e0f6cf34874d88e 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-18  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
+       correct min/max values for the ratio property (fixes #75331)
+
 Mon Mar 18 11:55:03 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
index 823809230e1d202e77d8a5aea83be05be091fce0..49a81ef3f13329af185466804e0f6cf34874d88e 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-18  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
+       correct min/max values for the ratio property (fixes #75331)
+
 Mon Mar 18 11:55:03 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
index 823809230e1d202e77d8a5aea83be05be091fce0..49a81ef3f13329af185466804e0f6cf34874d88e 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-18  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
+       correct min/max values for the ratio property (fixes #75331)
+
 Mon Mar 18 11:55:03 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
index 87f56749c261535406590c3a983074e3e5ffe93b..b0c58b1c739797c8d6a84b7bb1a84f71e4a8c65d 100644 (file)
@@ -120,7 +120,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
                                    g_param_spec_float ("ratio",
                                                        _("Ratio"),
                                                        _("Aspect ratio if obey_child is FALSE"),
-                                                       0.0, 1.0, 0.5,
+                                                       MIN_RATIO, MAX_RATIO, 0.5,
                                                        G_PARAM_READABLE | G_PARAM_WRITABLE ));
   g_object_class_install_property (gobject_class,
                                    PROP_OBEY_CHILD,